package _1引入;

public class Employee {
	String name;
	
	Company company;

	@Override
	public String toString() {
		if(company!=null)
			return "我的名字叫" + name + ",我是"+company.name+"公司的员工";
		else
			return "我的名字叫" + name + ",我正在求职";
	}
}
